import { styled, TableRow } from '@mui/material'

const StyledTableRow = styled(TableRow)(({ theme, stripe }) => ({
  '&.customRowClass': {
    backgroundColor: stripe ? theme.palette.action.hover : '',
  },
  // hide last border
  '&:last-child td, &:last-child th': {
    border: 0,
  },
}));

export default StyledTableRow